Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 3 - QuickDraw 3D Objects / QuickDraw 3D Objects Reference
QuickDraw 3D Objects Routines / Determining Object Types


Q3Object_GetType

You can use the Q3Object_GetType function to get the type of a core QuickDraw 3D object.

TQ3ObjectType Q3Object_GetType (TQ3Object object);
object
A QuickDraw 3D object.
DESCRIPTION
The Q3Object_GetType function returns, as its function result, the type identifier of the QuickDraw 3D object specified by the object parameter. If successful, Q3Object_GetType returns one of these constants:

kQ3ObjectTypeElement
kQ3ObjectTypePick
kQ3ObjectTypeShared
kQ3ObjectTypeView
If the type cannot be determined or is invalid, Q3Object_GetType returns the value kQ3ObjectTypeInvalid.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996